<!DOCTYPE html>
<html>
<head>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
	<%= csrf_meta_tags %>
	<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
		<div class="container">
			<div class="navbar-header">
				<tr>
					<th><%= link_to '首页', homes_path, class: 'navbar-brand' %></th>
					<th><%= link_to '博客', list_blogs_path, class: 'navbar-brand' %></th>
					<th><%= link_to '商品', homes_path, class: 'navbar-brand' %></th>
					<th><%= link_to '...', homes_path, class: 'navbar-brand' %></th>
				</tr>
			</div>
			<div class="navbar-collapse collapse">
				<form class="navbar-form navbar-right" role="form">
					<div class="form-group">
						<input type="text" placeholder="Email" class="form-control">
					</div>
					<div class="form-group">
						<input type="password" placeholder="Password" class="form-control">
					</div>
					<button type="submit" class="btn btn-success">Sign in</button>
					<button href="" class="btn btn-success">Registration</button>
				</form>
			</div>
		</div>
	</div>
	<%= yield :head %>
</head>

<header id="header" class="text-center center-block row">
<%= yield :header %>
</header>

<body>
<%= yield %>
<%= javascript_include_tag 'application' %>

<footer class="text-center">
	<div id="footer">
		<hr class="">
		<div class="container">
			<p class="muted credit">2013-2014&nbsp;&nbsp;chris个人网站&nbsp;(www.chris.com)<span class="application-footer">
				&nbsp;&nbsp;&nbsp;&nbsp;| by Chris |&nbsp;&nbsp;&nbsp;&nbsp;</span>联系方式: Q&nbsp;：&nbsp;××××××&nbsp;&nbsp;
				电话&nbsp;：&nbsp;××××××</p>
			<th>
				<tr><%= link_to '联系我', contacts_path  %></tr>
				<tr class="">寻找商家</tr>
				<tr>合作机会</tr>
				<tr>意见反馈</tr>
			</th>
		</div>
	</div>
</footer>

<%= yield :footer %>
</body>

</html>

